projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbb33d4
)
fix a latent bug in process.c
author
Tom Tromey
<tromey@redhat.com>
Wed, 15 Aug 2012 19:17:05 +0000
(13:17 -0600)
committer
Tom Tromey
<tromey@redhat.com>
Wed, 15 Aug 2012 19:17:05 +0000
(13:17 -0600)
* process.c (wait_reading_process_output): Check Writeok bits,
not write_mask.
src/process.c
patch
|
blob
|
history
diff --git
a/src/process.c
b/src/process.c
index a43655e4da86272110f5163b6e2efe210117c8af..2a61b6da777ac3b06b6ba10904b44d5c38ac1289 100644
(file)
--- a/
src/process.c
+++ b/
src/process.c
@@
-4792,7
+4792,7
@@
wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd,
&& d->func != 0
&& (d->condition & FOR_READ) != 0)
d->func (channel, d->data, 1);
- if (FD_ISSET (channel, &
write_mas
k)
+ if (FD_ISSET (channel, &
Writeo
k)
&& d->func != 0
&& (d->condition & FOR_WRITE) != 0)
d->func (channel, d->data, 0);